package com.aps.entity.dto;

import com.aps.entity.domain.device.DeviceModule;
import com.aps.entity.domain.device.DeviceSpec;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/3 17:01
 */

@Data
public class DeviceModuleDTO {

    private DeviceModule deviceModule;

    private String deviceTypeCode;

    private DeviceSpec deviceSpec;

    private Date enableTime;

    public DeviceModuleDTO() {
    }

    public DeviceModuleDTO(DeviceModule deviceModule, String deviceTypeCode,
            DeviceSpec deviceSpec) {
        this.deviceModule = deviceModule;
        this.deviceTypeCode = deviceTypeCode;
        this.deviceSpec = deviceSpec;
    }

    public DeviceModuleDTO(DeviceModule deviceModule, String deviceTypeCode, DeviceSpec deviceSpec,
            Date enableTime) {
        this.deviceModule = deviceModule;
        this.deviceTypeCode = deviceTypeCode;
        this.deviceSpec = deviceSpec;
        this.enableTime = enableTime;
    }
}
